package icu.hsu.apisdk.model.request;

import icu.hsu.apisdk.model.enums.RequestMethodEnum;
import icu.hsu.apisdk.model.params.PoisonousChickenSoupParams;
import icu.hsu.apisdk.model.response.PoisonousChickenSoupResponse;
import lombok.experimental.Accessors;

/**
 * 毒鸡汤请求类
 * @ClassName: PoisonousChickenSoupRequest
 * @author Hsu琛君珩
 * @date 2024-09-08
 * @apiNote
 * @Version: v1.0
 */
@Accessors(chain = true)
public class PoisonousChickenSoupRequest extends BaseRequest<PoisonousChickenSoupParams, PoisonousChickenSoupResponse> {

    @Override
    public String getPath() {
        return "/poisonousChickenSoup";  // 请求的路径
    }

    /**
     * 获取响应类的类型
     *
     * @return 响应类类型
     */
    @Override
    public Class<PoisonousChickenSoupResponse> getResponseClass() {
        return PoisonousChickenSoupResponse.class;
    }

    @Override
    public String getMethod() {
        return RequestMethodEnum.GET.getValue();  // 请求方法为GET
    }
}
